package com.chrilwe.pigpig.filesystem.message;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import com.chrilwe.pigpig.filesystem.config.RabbitConfig;

/**
 * 处理视频转换为m3u8格式的消息
 * @author chrilwe
 * @date 2020-10-4
 */
@Component
@RabbitListener(queues = {RabbitConfig.QUEUE_A})
public class ProcessVideoMessage {
	
	@RabbitHandler
	public void process(String message) {
		System.out.println(message);
	}
}
